package com.imporven.sell.repository;

import com.imporven.sell.domain.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;

import org.springframework.data.domain.Pageable;

/**
 * @author imporven
 * @version 1.0.0
 * @date 2018-7-5 0:51
 * 订单主数据Repository
 */
public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {
    Page<OrderMaster> findByBuyerOpenid(String openid, Pageable pageable);
}
